<!--********************* Part1:Jsp Head *********************-->

<%@ page contentType="text/html;charset=UTF-8"%>  
<%@ include file="/framework/head.jsp"%>

<!--********************* Part2:Java Code *********************-->
<%
	BillMonthIoPageData obj = (BillMonthIoPageData)context.getValue("BillMonthIoPageData");
%>

<!--********************* Part3:JavaScript Code ***************-->
<script language="javascript">

var g_check_items = new Array();
var g_i = 0 ;

//g_check_items[g_i++] = new CheckItem("仓库编号","WarehouseCode",true,true,200,false,0);

//g_check_items[g_i++] = new CheckItem("仓库名称","WarehouseName",true,true,100,false,0);

//g_check_items[g_i++] = new CheckItem("费用类别","MoneyType",true,true,100,false,0);

//g_check_items[g_i++] = new CheckItem("出入库金额标志","MoneyIo",true,true,1,false,0);

g_check_items[g_i++] = new CheckItem("总金额","Money",true,false,0,true,CHECK_ITEM_TYPE_DOUBLE);

//g_check_items[g_i++] = new CheckItem("费用发生日期","MoneyDate",true,true,20,false,0);

//g_check_items[g_i++] = new CheckItem("创建人序号","CreateUserId",false,true,32,false,0);

//g_check_items[g_i++] = new CheckItem("创建人","CreateUser",false,true,100,false,0);

//g_check_items[g_i++] = new CheckItem("创建时间","CreateTime",false,true,20,false,0);


function doSaveAndNew()
{
	if(!CheckInput(g_check_items)) return false;
	SetAction("saveAndNewBillMonthIo");
	frm.submit();
}
function doSave()
{
	if(!CheckInput(g_check_items)) return false;
	SetAction("updateBillMonthIo");
	frm.submit();
}
function doCancel()
{
	SetAction("backListBillMonthIo");
	frm.submit();
}

key_InitDefault();
key_RegSubmitHandler(doSave);
</script>

<%=uiBody%>>

<%@ include file="/framework/menu.jsp"%>

<!--********************* Part4:Form  ***************-->

<form id=frm action="<%=Config.getSrv()%>" method="post">
<input type=hidden name="action_code">

<input type=hidden name="Id" value="<%=obj.getId()%>">
<input type=hidden name="WarehouseCode" value="<%=obj.viewWarehouseCode(con)%>">
<input type=hidden name="MoneyIo" value="<%=obj.viewMoneyIo(con)%>">

<br>

<%=UIManager.addEditHeadTitle("其他费用管理维护")%>


<!--********************* Part5:Edit Area  ***************-->
<%=uiEditStart%>>
<%
	int key_tab = 1 ;
%>


	<%=uiEditTR%>>
		<%=uiEditHeadTD%> width=250>仓库名称：</td>
		<%=uiEditTD%>>
			<%=obj.viewWarehouseName(con)%>
		</td>
	</tr>
    
    <%=uiEditTR%>>
        <%=uiEditHeadTD%> width=250>费用发生日期：</td>
        <%=uiEditTD%>>
            <%=obj.viewMoneyDate(con)%>
        </td>
    </tr>

	<%=uiEditTR%>>
		<%=uiEditHeadTD%> width=250>费用类别：</td>
		<%=uiEditTD%>>
			<%=obj.viewMoneyType(con)%>
		</td>
	</tr>
	
	<%=uiEditTR%>>
		<%=uiEditHeadTD%> width=250>总金额：</td>
		<%=uiEditTD%>>
			<input type=text class="texts"  name="Money" size=20  value="<%=obj.viewMoney(con)%>" key_tab="<%=key_tab++%>"><font color=red>*</font>
		</td>
	</tr>
	
	<%=uiEditTR%>>
		<%=uiEditHeadTD%> width=250>创建人：</td>
		<%=uiEditTD%>>
			<%=obj.viewCreateUser(con)%>
		</td>
	</tr>

	<%=uiEditTR%>>
		<%=uiEditHeadTD%> width=250>创建时间：</td>
		<%=uiEditTD%>>
			<%=obj.viewCreateTime(con)%>
		</td>
	</tr>
	

<%=uiEditEnd%>

<!--********************* Part6:Action Area  ***************-->
<%=uiCommandStart%>>
	<%=uiCommandTR%>>
   		<%=uiCommandTD%>>                     
			<!-- <input type=button class="buttons" value=" 保存&添加 " onclick="doSaveAndNew();return false;"> -->
			<input type=button class="buttons" value="    保存   " onclick="doSave();return false;">
			<input type=button class="buttons" value="    返回   " onclick="doCancel();return false;">
		</td>
	</tr>
<%=uiCommandEnd%>
</form>

<%@ include file="/framework/foot.jsp"%>

<!--
	Author    :Arrow
	FileName  :/system/base/BillMonthIoEdit.jsp
-->
